﻿using Microsoft.EntityFrameworkCore;
using WebSiteAPI.Entities;

namespace WebSiteAPI.DbContexts
{
    public class CCDemoDbContext : DbContext
    {
        public CCDemoDbContext(DbContextOptions<CCDemoDbContext> options) : base(options) 
        {
            Database.EnsureCreated();
        }
        public DbSet<Account> Accounts { get; set; }
    }
}
